package com.gem.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gem.entity.Order;
import com.gem.vo.OrderVO;

import java.util.List;

/**
 * @author 刘聪
 * Created  on 2021/4/21
 */
public interface OrderService extends IService<Order> {
    /**所有订单
     *
     * @param id 用户id
     * @return
     */
    List<OrderVO> orderList(Integer id);

    List<OrderVO> selectAll(List<Order> orderList);

}
